package com.bdqn.mzc.mapper;

import com.bdqn.mzc.model.Region;
import com.bdqn.mzc.model.User;

import java.util.List;

public interface UserMapper {

    @Deprecated
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    User selectByEmail(String email);

    User selectByGofar(String gofar);

    List<User> selectList();

    int updateByPrimaryKeySelective(User record);
    @Deprecated
    int updateByPrimaryKey(User record);

    User selectLoginUserAndTravelmember(Integer id);
}